//

import axios from '../utils/axios'
//商品详情接口
export function getDetail(id) {
  return axios.get(`/goods/detail/${id}`);
}

//底部--分类---数据接口
export function getCategory() {
  return axios.get('/categories');
}
//搜索数据接口
export function search(params) {
  return axios.get('/search', { params });
}

